TITLE "Gravitational Segregation of Decontaminated MDT Samples"

-- Set the depth, temperature, and pressure for the three MDT samples:

DEPTH 3403.8 m,  STORE MDT1_Depth
TEMP 94.8 C,     STORE MDT1_Temp
PRES 342.40 bar, STORE MDT1_Pres
MIX MDT1_Oil     1 MOLE Lab3_MDT1_Decontaminated

DEPTH 3317.9 m,  STORE MDT2_Depth
TEMP 92.6 C,     STORE MDT2_Temp
PRES 336.63 bar, STORE MDT2_Pres
MIX MDT2_Oil     1 MOLE Lab3_MDT2_Decontaminated

DEPTH 3346.4 m,  STORE MDT3_Depth
TEMP 93.3 C,     STORE MDT3_Temp
PRES 338.55 bar, STORE MDT3_Pres
MIX MDT3_Oil     1 MOLE Lab3_MDT3_Decontaminated

-- Average the three samples:

DEPTH RESTORE MDT1_Depth  RESTORE MDT2_Depth 0.5  RESTORE MDT3_Depth 0.333333  STORE Ave_Depth
TEMP  RESTORE MDT1_Temp   RESTORE MDT2_Temp  0.5  RESTORE MDT3_Temp  0.333333  STORE Ave_Temp
PRES  RESTORE MDT1_Pres   RESTORE MDT2_Pres  0.5  RESTORE MDT3_Pres  0.333333  STORE Ave_Pres
QIX Ave_Oil 1 MASS MDT1_Oil 1 MASS MDT2_Oil 1 MASS MDT3_Oil
LMIX Average_3356.6_m_Oil 1 MOLE Ave_Oil

-- Use a damped, isothermal segregation experiment to interpolate and extrapolate the compositions:

QIX FEED 1 MOLE Ave_Oil
SEGREGATE ID "Damped Isothermal Segregation from Averaged Sample"
DAMP Seg_Damping
DEPTH       FEED        PRES        SATP        DEN         VIS         MW          MW-C6+      ZWT-C1                 ZWT-C2-C5             ZWT-C6+
m                       bar         bar         g/cc        cp
Y                       X           X           X           X                                   X                      X                     X
3200        F_3200
3220        
3240        
3260        
3280        
3300        
3317.9      F_3317.9    336.63                                                                  0.073180               0.083951              0.83733
3320        
3340        
3346.4      F_3346.4    338.55                                                                  0.073692               0.082350              0.83842
3350        F_3350
3360        
3380        
3400        
3403.8      F_3403.8    342.40                                                                  0.071692               0.082205              0.83991
3420        
3440        
3460        
3480        
3500        F_3500
WTS                                                                                             0.073180               0.083950              0.83991
END

-- Report the interpolated and extrapolated compositions:

LMIX Predicted_3200_m_Oil   F_3200
LMIX Predicted_MDT2_Oil     F_3317.9
LMIX Predicted_MDT3_Oil     F_3346.4
LMIX Predicted_3350_m_Oil   F_3350
LMIX Predicted_MDT1_Oil     F_3403.8
LMIX Predicted_3500_m_Oil   F_3500

EOF
